home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / Epic4_mos / share / epic / help / 5_programming / package < prev    next >
Encoding:
Text File  |  2002-10-28  |  950 b   |  22 lines

  1. Synopsis:
  2.    package <name>
  3.  
  4. Description:
  5.    The PACKAGE command allows a script to "group" all of the assigns, aliases,
  6.    binds, ON hooks (and stubs) under a common package name. When the PACKAGE
  7.    command is used, any alias/assigns/on that are registered until the end of
  8.    the file are given the current package name. The package name can be changed
  9.    anywhere in a script, even if PACKAGE had been previously used. However,
  10.    packages only last until the end of the file, they never propagate
  11.    upwards. Scripts that are loaded by other scripts may put themselves
  12.    under a different package name than the one being used by the loading
  13.    script. By default, a script is put into the package that is currently
  14.    active in the script that loaded it (or * if no package is active)
  15.  
  16. Options:
  17.    <name>         name of the package to group the current script under
  18.  
  19. See Also:
  20.    load(5); stub(5); unload(5); on(5) unload
  21.  
  22.